package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShowArticle {
    private Long id;

    private String flag;

    private String title;

    private String content;

    private Long typeId;
    private Long tagId;

    private String firstPicture;

    private String description;

    private boolean appreciation;

    private boolean commentabled;

    private boolean shareStatement;

    private boolean recommend;

    private boolean published;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
